package org.linlinjava.litemall.admin.vo.online_service;

import org.json.JSONArray;
import org.json.JSONObject;
import org.linlinjava.litemall.admin.form.CommodityAddRegualrForm;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/6 18:04
 */
public class AddOnlineServiceVo {

    private Integer serviceId;

    @NotBlank(message = "服务名称不能为空")
    private String serviceName;

    private String serviceJj;

    @Size(min = 1,message = "服务图片不能为空")
    private List<String> serviceImg;

    private String serviceVideo;

    @NotNull(message = "服务分类不能为空")
    private Integer serviceType;

    @NotBlank(message = "标签不能为空")
    private String serviceLabel;


    private JoinAdv joinAdv;

    @NotNull(message = "成本价不能为空")
    @DecimalMin(value = "0",message = "成本价不能小于0")
    private Integer cost;

    @NotNull(message = "原价不能为空")
    @DecimalMin(value = "0",message = "原价不能小于0")
    private Integer originalPrice;

    private String shareDescript;

    @NotNull(message = "服务科室不能为空")
    private Integer department;

    private Integer appointTime;

    private List<TimeSlot> timeList;

//    private JSONArray serviceSpec;

    private List<CommodityAddRegualrForm> serviceSpec;

    @NotBlank(message = "服务需知不能为空")
    private String serviceNotice;

    @NotBlank(message = "服务流程不能为空")
    private String serviceProcess;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    private List<String> descriptionList;


    private Integer doctorDivided;

    public Integer getDoctorDivided() {
        return doctorDivided;
    }

    public void setDoctorDivided(Integer doctorDivided) {
        this.doctorDivided = doctorDivided;
    }

    public List<String> getDescriptionList() {
        return descriptionList;
    }

    public void setDescriptionList(List<String> descriptionList) {
        this.descriptionList = descriptionList;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceJj() {
        return serviceJj;
    }

    public void setServiceJj(String serviceJj) {
        this.serviceJj = serviceJj;
    }

    public String getServiceVideo() {
        return serviceVideo;
    }

    public void setServiceVideo(String serviceVideo) {
        this.serviceVideo = serviceVideo;
    }

    public List<String> getServiceImg() {
        return serviceImg;
    }

    public void setServiceImg(List<String> serviceImg) {
        this.serviceImg = serviceImg;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceLabel() {
        return serviceLabel;
    }

    public void setServiceLabel(String serviceLabel) {
        this.serviceLabel = serviceLabel;
    }

    public JoinAdv getJoinAdv() {
        return joinAdv;
    }

    public void setJoinAdv(JoinAdv joinAdv) {
        this.joinAdv = joinAdv;
    }

    public Integer getCost() {
        return cost;
    }

    public void setCost(Integer cost) {
        this.cost = cost;
    }

    public Integer getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Integer originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getShareDescript() {
        return shareDescript;
    }

    public void setShareDescript(String shareDescript) {
        this.shareDescript = shareDescript;
    }

    public Integer getDepartment() {
        return department;
    }

    public void setDepartment(Integer department) {
        this.department = department;
    }

    public Integer getAppointTime() {
        return appointTime;
    }

    public void setAppointTime(Integer appointTime) {
        this.appointTime = appointTime;
    }

    public List<TimeSlot> getTimeList() {
        return timeList;
    }

    public void setTimeList(List<TimeSlot> timeList) {
        this.timeList = timeList;
    }

    public List<CommodityAddRegualrForm> getServiceSpec() {
        return serviceSpec;
    }

    public void setServiceSpec(List<CommodityAddRegualrForm> serviceSpec) {
        this.serviceSpec = serviceSpec;
    }

    public String getServiceNotice() {
        return serviceNotice;
    }

    public void setServiceNotice(String serviceNotice) {
        this.serviceNotice = serviceNotice;
    }

    public String getServiceProcess() {
        return serviceProcess;
    }

    public void setServiceProcess(String serviceProcess) {
        this.serviceProcess = serviceProcess;
    }
}
